package com.hejjon.syyapi.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * Created by caoshi at 20:48 2021-09-16
 */
@Data
@Entity
@Table(name = "t_user")
public class XUser implements Serializable {

    private static final long serialVersionUID = -3464180455483679809L;


    @Id
    @Column(name = "c_id")
    private String id;

    @Column(name = "c_username")
    private String username;

    @Column(name = "c_password")
    private String password;

    @Column(name = "c_desc")
    private String descrip;

    @Column(name = "c_enable")
    private int enable;

    @Column(name = "c_createtime")
    private Date createtime;

    @Column(name = "c_updatetime")
    private Date updatetime;


}
